この手順では、アプリケーションを作成し、そのアプリケーションにいくつかのフォルダを追加します。
この手順では、新しい Windows ストアアプリケーションを作成し、XAML ビューを設定します。
XAML |
コードのコピー
|
---|---|
<Maps:C1Maps Name="maps" Foreground="White" ></Maps:C1Maps> |
XAML |
コードのコピー
|
---|---|
<Maps:C1Maps Name="maps" Foreground="White" MaxLatValue="70" MinLat="35" MaxLong="146" MinLongValue="25" ></Maps:C1Maps> |
XAML |
コードのコピー
|
---|---|
<Maps:C1Maps Name="maps" Foreground="White" MaxLat="70" MinLat="35" MaxLong="146" MinLong="25" Center="82.9333, 55.0167" ></Maps:C1Maps> |
XAML |
コードのコピー
|
---|---|
<Maps:C1Maps Name="maps" Foreground="White" MaxLat="70" MinLat="35" MaxLong="146" MinLong="25" Center="82.9333, 55.0167" MinZoom="3"> </Maps:C1Maps> |
XAML |
コードのコピー
|
---|---|
<Maps:C1Maps.Resources> <!--Item template --> <DataTemplate x:Key="templPts"> <Maps:C1VectorPlacemark GeoPoint="{Binding Path=LongLat}" Fill="LightGreen" Stroke="DarkGreen" Label="{Binding Path=Name}" LabelPosition="Right" FontSize="14"> <Maps:C1VectorPlacemark.Geometry> <EllipseGeometry RadiusX="2" RadiusY="2" /> </Maps:C1VectorPlacemark.Geometry> </Maps:C1VectorPlacemark> </DataTemplate> </Maps:C1Maps.Resources> <Maps:C1VectorLayer ItemsSource="{Binding}" ItemTemplate="{StaticResource templPts}"/> |
この手順では、アプリケーションを作成し、適切な参照を追加し、XAML マークアップを追加して、C1Maps コントロール、マップリソース、および C1VectorLayer を作成しました。